<html>
<!--
  Copyright 1999-2004 The Apache Software Foundation
 
  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at
 
      http://www.apache.org/licenses/LICENSE-2.0
 
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->

<head>
  <title>Admin Tools</title>
</head>

<body bgcolor="white">

<table border=0 cellspacing=5>
  <tr>
    <td><a href="/">
        <img SRC="tomcat.gif" height=92 width=130 align=LEFT border=0 alt="Tomcat Home Page"></a>
    <td valign=center><h2>Tomcat Administration Tools</h2>
  </tr>
  <tr>
      <td valign=top align=center>
        <b><font face="Arial, Helvetica, sans-serif" size=-5>
        <a href="/">Tomcat Home Page</a>
        </b></font>
  </tr>
</table>

<br>

<ul>
  <li><a href="./contextAdmin/contextList.jsp">Context list</a>
  <li><a href="./contextAdmin/moduleList.jsp">Modules</a>
  <li><a href="./contextAdmin/contextAdmin.html">Context Admin</a>
  <li><a href="/examples/jsp/snp/snoop.jsp">Snoop</a>
  <li><a href="./test">Test applications</a>
</ul>

<b>IMPORTANT: </b> In order to run the /admin applications you need to 
"trust it"  and set a password. The /admin may be dangerous
if left unprotected, and is disabled by default.
<br>
To enable the /admin you'll need to edit the file 
TOMCAT_HOME/conf/apps-admin.xml and change the "trusted" attribute
to true. It should look like: 
<pre>
    &lt;Context path="/admin" 
             docBase="webapps/admin" 
             trusted="true" &gt;
            &lt;SimpleRealm filename="conf/users/admin-users.xml" /&gt;
    &lt;/Context&gt;
</pre>

<p>
You can also do that by running the command:
<pre>
Unix:
$TOMCAT_HOME/bin/tomcat run -enableAdmin

DOS:
%TOMCAT_HOME%\bin\tomcat.bat run -enableAdmin

Java2:
java -jar lib/tomcat.jar -enableAdmin

Mac,Netware: 
???
</pre>

<p>
To change the admin password you'll have to edit 
TOMCAT_HOME/conf/users/admin-users.xml and change the "password" attribute.

<!--
<p>
You can do both by running the command:
<pre>
Unix:
$TOMCAT_HOME/bin/tomcat run -enableAdmin password

DOS:
%TOMCAT_HOME%\bin\tomcat.bat run -enableAdmin password

Mac,Netware: 
???
</pre>

-->



</body>
</html>
